package com.hero.provide;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
// 在springboot的基础类上添加 eureka客户端的标志
@EnableDiscoveryClient
public class HeroEurekaProvideApplication {

    public static void main(String[] args) {
        SpringApplication.run(HeroEurekaProvideApplication.class, args);
    }

}
